<template>
	<div>
			
		<h1 class="home_title">我是首页</h1>
		
		<button @click="toNews">点击跳转到新闻详情</button>
		<br />
		<hr />
		
			
	</div>
</template>
<script>
import Header from './Header.vue';
import VueEvent from '../model/VueEvent.js';

	export default{
		data(){
			return {
				
			}
		},
		methods:{
			toNews(){
				/*this.$router.push({ path: 'news' });*/
				
				/*this.$router.push({ name: 'news', params: { aid: 496 }})*/
				this.$router.push({ path:'/newscnt/496' })
			}
		}
	}
</script>
<style lang="scss">
.home_title{
	font-weight: normal;
	font-size: 1.5rem;
}
</style>